package com.cainaer.shop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cainaer.shop.domain.ShopInfo;

/**
 * <p>
 * 商铺信息表 服务类
 * </p>
 *
 * @author Tina
 * @since 2020-09-03
 */
public interface IShopInfoService extends IService<ShopInfo> {

    /**
     * 新增商家信息
     *
     * @param shopInfo
     * @return
     */
    Integer insertShopInfo(ShopInfo shopInfo);

    /**
     * 通过商家id查询商家信息
     *
     * @param shopId
     * @return
     */
    public ShopInfo queryShopInfoByShopId(Long shopId);

    /**
     * 编辑商家信息
     *
     * @param shopInfo
     * @return
     */
    public Integer editShopInfoByShop(ShopInfo shopInfo);


}
